/*
 * @Description:
 * @Author: HYH
 * @LastEditors: HYH
 * @LastEditTime: 2022-08-23 17:45:33
 */
import request from '@/http/axios/index'
import { App } from 'vue'
const provideNames: any = {
  request
}
/**提供依赖 页面使用需使用 inject 注入依赖 */
const provides = (app: App<Element>) => {
  for (const key in provideNames) {
    app.provide(key, provideNames[key])
  }
}
export default provides
